package org.card.dao;

import org.card.bean.Menu;
import org.card.query.MenuQuery;

import java.util.List;

/**
 * Created by card on 16/3/2.
 */
public interface MenuDao {

    int insert(Menu menu);

    int update(Menu menu);

    List<Menu> selectList(MenuQuery menuQuery);

    List<Menu> selectByUserId(Integer userId);

    int selectCount(MenuQuery menuQuery);

}
